package com.ruoyi.chat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 好友消息记录对象 chat_friend_message
 *

 * @date 2023-07-20
 */
public class FriendMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 发消息的用户id */
    @Excel(name = "发消息的用户id")
    private Long userIdPash;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String pashName;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String pashHeader;

    /** 收消息的用户id */
    @Excel(name = "收消息的用户id")
    private Long userIdPull;

    /** 收消息的昵称 */
    @Excel(name = "收消息的昵称")
    private String pullName;

    /** 收消息的头像地址 */
    @Excel(name = "收消息的头像地址")
    private String pullHeader;

    /** 消息文本内容 */
    @Excel(name = "消息文本内容")
    private String messgeText;

    /** 链接类消息 */
    @Excel(name = "链接类消息")
    private String messgeLink;

    /** 图片消息 */
    @Excel(name = "图片消息")
    private String messgeImage;

    /** 已读或未读 */
    @Excel(name = "已读或未读")
    private Long readStatus;

    /** 是否撤回 */
    @Excel(name = "是否撤回")
    private String recalled;

    public String getRecalled() {
        return recalled;
    }

    public void setRecalled(String recalled) {
        this.recalled = recalled;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserIdPash(Long userIdPash)
    {
        this.userIdPash = userIdPash;
    }

    public Long getUserIdPash()
    {
        return userIdPash;
    }
    public void setPashName(String pashName)
    {
        this.pashName = pashName;
    }

    public String getPashName()
    {
        return pashName;
    }
    public void setPashHeader(String pashHeader)
    {
        this.pashHeader = pashHeader;
    }

    public String getPashHeader()
    {
        return pashHeader;
    }
    public void setUserIdPull(Long userIdPull)
    {
        this.userIdPull = userIdPull;
    }

    public Long getUserIdPull()
    {
        return userIdPull;
    }
    public void setPullName(String pullName)
    {
        this.pullName = pullName;
    }

    public String getPullName()
    {
        return pullName;
    }
    public void setPullHeader(String pullHeader)
    {
        this.pullHeader = pullHeader;
    }

    public String getPullHeader()
    {
        return pullHeader;
    }
    public void setMessgeText(String messgeText)
    {
        this.messgeText = messgeText;
    }

    public String getMessgeText()
    {
        return messgeText;
    }
    public void setMessgeLink(String messgeLink)
    {
        this.messgeLink = messgeLink;
    }

    public String getMessgeLink()
    {
        return messgeLink;
    }
    public void setMessgeImage(String messgeImage)
    {
        this.messgeImage = messgeImage;
    }

    public String getMessgeImage()
    {
        return messgeImage;
    }
    public void setReadStatus(Long readStatus)
    {
        this.readStatus = readStatus;
    }

    public Long getReadStatus()
    {
        return readStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userIdPash", getUserIdPash())
            .append("pashName", getPashName())
            .append("pashHeader", getPashHeader())
            .append("userIdPull", getUserIdPull())
            .append("pullName", getPullName())
            .append("pullHeader", getPullHeader())
            .append("messgeText", getMessgeText())
            .append("messgeLink", getMessgeLink())
            .append("messgeImage", getMessgeImage())
            .append("readStatus", getReadStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
